<div id="manager">
    <div>
        <div id="bg-title1"><img src="/images/bg-title1.jpg" alt="" /></div>
        <div id="bg-title2"><img src="/images/icon-title.jpg" style="margin-right:8px;" alt="" />Trang cá nhân</div>
        <div id="bg-title3"><img src="/images/bg-title3.jpg" alt="" /></div>
        <div class="clearfloat"></div>
    </div>
    <div id="content">

        <div class="area-button">
            <div class="area-button1">
                <div>
                <a href="javascript:;" onclick="document.frmEditInfo.submit();return false;" class="button">Cập nhật</a>
                <a href="javascript:history.go(-1);" class="button">Quay lại</a>
                </div>
            </div>
        </div>
        <div class="area-content">
            <form name="frmEditInfo" action="/admin/detail" method="post">
                <div class="form">
                    <div class="form1b">Tên đăng nhập</div>
                    <div class="form2b"><b><?php echo $_SESSION['username'] ?></b></div>
                    <div class="clearfloat"></div>
                </div>
                <div class="form">
                    <div class="form1b">Tên đầy đủ</div>
                    <div class="form2b"><input type="text" name="fullname" style="width:300px" value="<?php echo isset($user['fullname']) ? $user['fullname'] : ''; ?>"/>
                    <?php if(isset($error['fullname'])): ?>
                        <div class="error"><?php echo $error['fullname'] ?></div>
                    <?php endif; ?>
                    </div>
                    <div class="clearfloat"></div>
                </div>
                <div class="form">
                    <div class="form1b">Email</div>
                    <div class="form2b"><input type="text" name="email" style="width:300px" value="<?php echo isset($user['email']) ? $user['email'] : ''; ?>"/>
                    <?php if(isset($error['email'])): ?>
                        <div class="error"><?php echo $error['email'] ?></div>
                    <?php endif; ?>
                    </div>
                    <div class="clearfloat"></div>
                </div>

                <div class="form">
                    <div class="form1b">Mật khẩu</div>
                    <div class="form2b"><input type="password" name="password" style="width:300px" value="<?php echo isset($user['password']) ? $user['password'] : ''; ?>"/>
                    <?php if(isset($error['password'])): ?>
                        <div class="error"><?php echo $error['password'] ?></div>
                    <?php endif; ?>
                    </div>
                    <div class="clearfloat"></div>
                </div>

                <div class="form">
                    <div class="form1b">Xác nhận mật khẩu</div>
                    <div class="form2b"><input type="password" name="repassword" style="width:300px" value="<?php echo isset($user['repassword']) ? $user['repassword'] : ''; ?>"/>
                    <?php if(isset($error['repassword'])): ?>
                        <div class="error"><?php echo $error['repassword'] ?></div>
                    <?php endif; ?>
                    </div>
                    <div class="clearfloat"></div>
                </div>
            </form>
        </div>
        <div class="area-button">
            <div class="area-button1">
                <a href="javascript:;" onclick="document.frmEditInfo.submit();" class="button">Cập nhật</a>
                <a href="javascript:history.go(-1);" class="button">Quay lại</a>
            </div>
        </div>
    </div>
</div>
<div class="clearfloat"></div>

